package com.zyg.order.service;

import com.zyg.common.entity.PayVo;
import com.zyg.common.entity.TbPayLog;
import com.zyg.order.entity.Cart;
import com.zyg.order.entity.TbOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Created by WF on 2021/11/12 14:25
 */
public interface TbOrderService extends IService<TbOrder>{


    List<Cart> findCartList(String name);

    void save(String name, TbOrder order);

    TbPayLog getPayLogFromRedis(String name);

    PayVo findPayVoByname(String name, String outTradeNo);

    List<TbOrder> findOrderListByname(String name);

    TbPayLog findPayLog(String id);
}
